package com.qf.news.service;

import com.github.pagehelper.PageInfo;
import com.qf.news.entity.NewsComment;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_news
 * @Package com.qf.news.service
 * @Description: ${TODO}
 * @Date 2021/10/3 17:47
 */
public interface NewsCommentService {

    void insert(NewsComment comment);
    void deleteById(Integer id);
    PageInfo<NewsComment> findByDetailIdAndPage(Integer pageNum,Integer pageSize,Integer newsId);
}
